package com.itheima.testScanner;

import java.util.Scanner;

public class test {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个整数:");
        int i = sc.nextInt();
        System.out.println("请输入一个字符串");
        String s = sc.next();
        System.out.println(i+"----"+s);
    }
}
